import { HttpException, HttpStatus } from '@nestjs/common';

export class NoPermissionException extends HttpException {
  constructor(description: string) {
    super(`没有${description}权限`, HttpStatus.FORBIDDEN);
  }
}
